package com.learn.mapper;

import com.learn.dto.Role;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;
@Mapper
public interface RoleMapper {
    // 新增
    List<Role> findAll();
    Integer insert(Role role);
int delete(Integer id);
int deletes(List<Integer> ids);
int update(Role role);
List<Role> getPage(String name, LocalDateTime beginTime, LocalDateTime endTime);
}
